/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.account.facade.order.settlement;


import info.peigen.hotpot.common.service.base.ServiceOrderBase;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <b>(AbstractAccountSettlementServiceOrder)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PROTECTED)
@Accessors(chain = true)
public abstract class AbstractAccountSettlementServiceOrder extends ServiceOrderBase {
    /** 交易Id */
    @NotEmpty
    String tradeId;
    /** 清算时间 */
    @NotNull
    Date   settleTime;
    /** memo */
    String memo;
}
